
check-mount3:     file format elf64-littleaarch64


Disassembly of section .init:

0000000000400670 <_init>:
  400670:	a9bf7bfd 	stp	x29, x30, [sp, #-16]!
  400674:	910003fd 	mov	x29, sp
  400678:	94000050 	bl	4007b8 <call_weak_fn>
  40067c:	a8c17bfd 	ldp	x29, x30, [sp], #16
  400680:	d65f03c0 	ret

Disassembly of section .plt:

0000000000400690 <.plt>:
  400690:	a9bf7bf0 	stp	x16, x30, [sp, #-16]!
  400694:	90000090 	adrp	x16, 410000 <__FRAME_END__+0xf3f8>
  400698:	f947fe11 	ldr	x17, [x16, #4088]
  40069c:	913fe210 	add	x16, x16, #0xff8
  4006a0:	d61f0220 	br	x17
  4006a4:	d503201f 	nop
  4006a8:	d503201f 	nop
  4006ac:	d503201f 	nop

00000000004006b0 <fclose@plt>:
  4006b0:	b0000090 	adrp	x16, 411000 <fclose@GLIBC_2.17>
  4006b4:	f9400211 	ldr	x17, [x16]
  4006b8:	91000210 	add	x16, x16, #0x0
  4006bc:	d61f0220 	br	x17

00000000004006c0 <fopen@plt>:
  4006c0:	b0000090 	adrp	x16, 411000 <fclose@GLIBC_2.17>
  4006c4:	f9400611 	ldr	x17, [x16, #8]
  4006c8:	91002210 	add	x16, x16, #0x8
  4006cc:	d61f0220 	br	x17

00000000004006d0 <strncmp@plt>:
  4006d0:	b0000090 	adrp	x16, 411000 <fclose@GLIBC_2.17>
  4006d4:	f9400a11 	ldr	x17, [x16, #16]
  4006d8:	91004210 	add	x16, x16, #0x10
  4006dc:	d61f0220 	br	x17

00000000004006e0 <__libc_start_main@plt>:
  4006e0:	b0000090 	adrp	x16, 411000 <fclose@GLIBC_2.17>
  4006e4:	f9400e11 	ldr	x17, [x16, #24]
  4006e8:	91006210 	add	x16, x16, #0x18
  4006ec:	d61f0220 	br	x17

00000000004006f0 <memset@plt>:
  4006f0:	b0000090 	adrp	x16, 411000 <fclose@GLIBC_2.17>
  4006f4:	f9401211 	ldr	x17, [x16, #32]
  4006f8:	91008210 	add	x16, x16, #0x20
  4006fc:	d61f0220 	br	x17

0000000000400700 <sleep@plt>:
  400700:	b0000090 	adrp	x16, 411000 <fclose@GLIBC_2.17>
  400704:	f9401611 	ldr	x17, [x16, #40]
  400708:	9100a210 	add	x16, x16, #0x28
  40070c:	d61f0220 	br	x17

0000000000400710 <system@plt>:
  400710:	b0000090 	adrp	x16, 411000 <fclose@GLIBC_2.17>
  400714:	f9401a11 	ldr	x17, [x16, #48]
  400718:	9100c210 	add	x16, x16, #0x30
  40071c:	d61f0220 	br	x17

0000000000400720 <__gmon_start__@plt>:
  400720:	b0000090 	adrp	x16, 411000 <fclose@GLIBC_2.17>
  400724:	f9401e11 	ldr	x17, [x16, #56]
  400728:	9100e210 	add	x16, x16, #0x38
  40072c:	d61f0220 	br	x17

0000000000400730 <abort@plt>:
  400730:	b0000090 	adrp	x16, 411000 <fclose@GLIBC_2.17>
  400734:	f9402211 	ldr	x17, [x16, #64]
  400738:	91010210 	add	x16, x16, #0x40
  40073c:	d61f0220 	br	x17

0000000000400740 <__isoc99_sscanf@plt>:
  400740:	b0000090 	adrp	x16, 411000 <fclose@GLIBC_2.17>
  400744:	f9402611 	ldr	x17, [x16, #72]
  400748:	91012210 	add	x16, x16, #0x48
  40074c:	d61f0220 	br	x17

0000000000400750 <printf@plt>:
  400750:	b0000090 	adrp	x16, 411000 <fclose@GLIBC_2.17>
  400754:	f9402a11 	ldr	x17, [x16, #80]
  400758:	91014210 	add	x16, x16, #0x50
  40075c:	d61f0220 	br	x17

0000000000400760 <fgets@plt>:
  400760:	b0000090 	adrp	x16, 411000 <fclose@GLIBC_2.17>
  400764:	f9402e11 	ldr	x17, [x16, #88]
  400768:	91016210 	add	x16, x16, #0x58
  40076c:	d61f0220 	br	x17

Disassembly of section .text:

0000000000400770 <_start>:
  400770:	d280001d 	mov	x29, #0x0                   	// #0
  400774:	d280001e 	mov	x30, #0x0                   	// #0
  400778:	aa0003e5 	mov	x5, x0
  40077c:	f94003e1 	ldr	x1, [sp]
  400780:	910023e2 	add	x2, sp, #0x8
  400784:	910003e6 	mov	x6, sp
  400788:	580000c0 	ldr	x0, 4007a0 <_start+0x30>
  40078c:	580000e3 	ldr	x3, 4007a8 <_start+0x38>
  400790:	58000104 	ldr	x4, 4007b0 <_start+0x40>
  400794:	97ffffd3 	bl	4006e0 <__libc_start_main@plt>
  400798:	97ffffe6 	bl	400730 <abort@plt>
  40079c:	00000000 	.inst	0x00000000 ; undefined
  4007a0:	00400a7c 	.word	0x00400a7c
  4007a4:	00000000 	.word	0x00000000
  4007a8:	00400a98 	.word	0x00400a98
  4007ac:	00000000 	.word	0x00000000
  4007b0:	00400b18 	.word	0x00400b18
  4007b4:	00000000 	.word	0x00000000

00000000004007b8 <call_weak_fn>:
  4007b8:	90000080 	adrp	x0, 410000 <__FRAME_END__+0xf3f8>
  4007bc:	f947f000 	ldr	x0, [x0, #4064]
  4007c0:	b4000040 	cbz	x0, 4007c8 <call_weak_fn+0x10>
  4007c4:	17ffffd7 	b	400720 <__gmon_start__@plt>
  4007c8:	d65f03c0 	ret
  4007cc:	00000000 	.inst	0x00000000 ; undefined

00000000004007d0 <deregister_tm_clones>:
  4007d0:	b0000080 	adrp	x0, 411000 <fclose@GLIBC_2.17>
  4007d4:	9101c000 	add	x0, x0, #0x70
  4007d8:	b0000081 	adrp	x1, 411000 <fclose@GLIBC_2.17>
  4007dc:	9101c021 	add	x1, x1, #0x70
  4007e0:	eb00003f 	cmp	x1, x0
  4007e4:	540000a0 	b.eq	4007f8 <deregister_tm_clones+0x28>  // b.none
  4007e8:	90000001 	adrp	x1, 400000 <_init-0x670>
  4007ec:	f9459c21 	ldr	x1, [x1, #2872]
  4007f0:	b4000041 	cbz	x1, 4007f8 <deregister_tm_clones+0x28>
  4007f4:	d61f0020 	br	x1
  4007f8:	d65f03c0 	ret
  4007fc:	d503201f 	nop

0000000000400800 <register_tm_clones>:
  400800:	b0000080 	adrp	x0, 411000 <fclose@GLIBC_2.17>
  400804:	9101c000 	add	x0, x0, #0x70
  400808:	b0000081 	adrp	x1, 411000 <fclose@GLIBC_2.17>
  40080c:	9101c021 	add	x1, x1, #0x70
  400810:	cb000021 	sub	x1, x1, x0
  400814:	9343fc21 	asr	x1, x1, #3
  400818:	8b41fc21 	add	x1, x1, x1, lsr #63
  40081c:	9341fc21 	asr	x1, x1, #1
  400820:	b40000a1 	cbz	x1, 400834 <register_tm_clones+0x34>
  400824:	90000002 	adrp	x2, 400000 <_init-0x670>
  400828:	f945a042 	ldr	x2, [x2, #2880]
  40082c:	b4000042 	cbz	x2, 400834 <register_tm_clones+0x34>
  400830:	d61f0040 	br	x2
  400834:	d65f03c0 	ret

0000000000400838 <__do_global_dtors_aux>:
  400838:	a9be7bfd 	stp	x29, x30, [sp, #-32]!
  40083c:	910003fd 	mov	x29, sp
  400840:	f9000bf3 	str	x19, [sp, #16]
  400844:	b0000093 	adrp	x19, 411000 <fclose@GLIBC_2.17>
  400848:	3941c260 	ldrb	w0, [x19, #112]
  40084c:	35000080 	cbnz	w0, 40085c <__do_global_dtors_aux+0x24>
  400850:	97ffffe0 	bl	4007d0 <deregister_tm_clones>
  400854:	52800020 	mov	w0, #0x1                   	// #1
  400858:	3901c260 	strb	w0, [x19, #112]
  40085c:	f9400bf3 	ldr	x19, [sp, #16]
  400860:	a8c27bfd 	ldp	x29, x30, [sp], #32
  400864:	d65f03c0 	ret

0000000000400868 <frame_dummy>:
  400868:	17ffffe6 	b	400800 <register_tm_clones>

000000000040086c <xy_usb_detect_mount>:
  40086c:	d113c3ff 	sub	sp, sp, #0x4f0
  400870:	a9007bfd 	stp	x29, x30, [sp]
  400874:	910003fd 	mov	x29, sp
  400878:	f9000fa0 	str	x0, [x29, #24]
  40087c:	f9000ba1 	str	x1, [x29, #16]
  400880:	910323a0 	add	x0, x29, #0xc8
  400884:	d2808001 	mov	x1, #0x400                 	// #1024
  400888:	aa0103e2 	mov	x2, x1
  40088c:	52800001 	mov	w1, #0x0                   	// #0
  400890:	97ffff98 	bl	4006f0 <memset@plt>
  400894:	b904efbf 	str	wzr, [x29, #1260]
  400898:	f90273bf 	str	xzr, [x29, #1248]
  40089c:	f9026fbf 	str	xzr, [x29, #1240]
  4008a0:	f9026bbf 	str	xzr, [x29, #1232]
  4008a4:	90000000 	adrp	x0, 400000 <_init-0x670>
  4008a8:	912d2000 	add	x0, x0, #0xb48
  4008ac:	97ffff99 	bl	400710 <system@plt>
  4008b0:	7100001f 	cmp	w0, #0x0
  4008b4:	54000b61 	b.ne	400a20 <xy_usb_detect_mount+0x1b4>  // b.any
  4008b8:	90000000 	adrp	x0, 400000 <_init-0x670>
  4008bc:	912d8001 	add	x1, x0, #0xb60
  4008c0:	90000000 	adrp	x0, 400000 <_init-0x670>
  4008c4:	912da000 	add	x0, x0, #0xb68
  4008c8:	97ffff7e 	bl	4006c0 <fopen@plt>
  4008cc:	f90267a0 	str	x0, [x29, #1224]
  4008d0:	f94267a0 	ldr	x0, [x29, #1224]
  4008d4:	f100001f 	cmp	x0, #0x0
  4008d8:	54000941 	b.ne	400a00 <xy_usb_detect_mount+0x194>  // b.any
  4008dc:	90000000 	adrp	x0, 400000 <_init-0x670>
  4008e0:	912da001 	add	x1, x0, #0xb68
  4008e4:	90000000 	adrp	x0, 400000 <_init-0x670>
  4008e8:	912de000 	add	x0, x0, #0xb78
  4008ec:	97ffff99 	bl	400750 <printf@plt>
  4008f0:	12800000 	mov	w0, #0xffffffff            	// #-1
  4008f4:	1400004c 	b	400a24 <xy_usb_detect_mount+0x1b8>
  4008f8:	9100a3a0 	add	x0, x29, #0x28
  4008fc:	d2801402 	mov	x2, #0xa0                  	// #160
  400900:	52800001 	mov	w1, #0x0                   	// #0
  400904:	97ffff7b 	bl	4006f0 <memset@plt>
  400908:	9100a3a0 	add	x0, x29, #0x28
  40090c:	91020007 	add	x7, x0, #0x80
  400910:	9100a3a0 	add	x0, x29, #0x28
  400914:	9101c006 	add	x6, x0, #0x70
  400918:	9100a3a0 	add	x0, x29, #0x28
  40091c:	91018005 	add	x5, x0, #0x60
  400920:	9100a3a0 	add	x0, x29, #0x28
  400924:	91014004 	add	x4, x0, #0x50
  400928:	9100a3a0 	add	x0, x29, #0x28
  40092c:	91010003 	add	x3, x0, #0x40
  400930:	9100a3a2 	add	x2, x29, #0x28
  400934:	90000000 	adrp	x0, 400000 <_init-0x670>
  400938:	912e4001 	add	x1, x0, #0xb90
  40093c:	910323a0 	add	x0, x29, #0xc8
  400940:	97ffff80 	bl	400740 <__isoc99_sscanf@plt>
  400944:	90000000 	adrp	x0, 400000 <_init-0x670>
  400948:	912ea001 	add	x1, x0, #0xba8
  40094c:	9100a3a0 	add	x0, x29, #0x28
  400950:	d28000e2 	mov	x2, #0x7                   	// #7
  400954:	97ffff5f 	bl	4006d0 <strncmp@plt>
  400958:	7100001f 	cmp	w0, #0x0
  40095c:	54000521 	b.ne	400a00 <xy_usb_detect_mount+0x194>  // b.any
  400960:	90000000 	adrp	x0, 400000 <_init-0x670>
  400964:	912ec001 	add	x1, x0, #0xbb0
  400968:	9100a3a0 	add	x0, x29, #0x28
  40096c:	91020000 	add	x0, x0, #0x80
  400970:	d2800082 	mov	x2, #0x4                   	// #4
  400974:	97ffff57 	bl	4006d0 <strncmp@plt>
  400978:	7100001f 	cmp	w0, #0x0
  40097c:	54000421 	b.ne	400a00 <xy_usb_detect_mount+0x194>  // b.any
  400980:	9100a3a0 	add	x0, x29, #0x28
  400984:	91020006 	add	x6, x0, #0x80
  400988:	9100a3a0 	add	x0, x29, #0x28
  40098c:	9101c005 	add	x5, x0, #0x70
  400990:	9100a3a0 	add	x0, x29, #0x28
  400994:	91018004 	add	x4, x0, #0x60
  400998:	9100a3a0 	add	x0, x29, #0x28
  40099c:	91014003 	add	x3, x0, #0x50
  4009a0:	9100a3a0 	add	x0, x29, #0x28
  4009a4:	91010002 	add	x2, x0, #0x40
  4009a8:	9100a3a1 	add	x1, x29, #0x28
  4009ac:	90000000 	adrp	x0, 400000 <_init-0x670>
  4009b0:	912ee000 	add	x0, x0, #0xbb8
  4009b4:	97ffff67 	bl	400750 <printf@plt>
  4009b8:	f9400fa0 	ldr	x0, [x29, #24]
  4009bc:	52800021 	mov	w1, #0x1                   	// #1
  4009c0:	39000001 	strb	w1, [x0]
  4009c4:	90000000 	adrp	x0, 400000 <_init-0x670>
  4009c8:	912f6001 	add	x1, x0, #0xbd8
  4009cc:	9100a3a0 	add	x0, x29, #0x28
  4009d0:	9101c000 	add	x0, x0, #0x70
  4009d4:	d2800082 	mov	x2, #0x4                   	// #4
  4009d8:	97ffff3e 	bl	4006d0 <strncmp@plt>
  4009dc:	7100001f 	cmp	w0, #0x0
  4009e0:	54000101 	b.ne	400a00 <xy_usb_detect_mount+0x194>  // b.any
  4009e4:	9100a3a1 	add	x1, x29, #0x28
  4009e8:	90000000 	adrp	x0, 400000 <_init-0x670>
  4009ec:	912f8000 	add	x0, x0, #0xbe0
  4009f0:	97ffff58 	bl	400750 <printf@plt>
  4009f4:	f9400ba0 	ldr	x0, [x29, #16]
  4009f8:	52800021 	mov	w1, #0x1                   	// #1
  4009fc:	39000001 	strb	w1, [x0]
  400a00:	910323a0 	add	x0, x29, #0xc8
  400a04:	f94267a2 	ldr	x2, [x29, #1224]
  400a08:	52808001 	mov	w1, #0x400                 	// #1024
  400a0c:	97ffff55 	bl	400760 <fgets@plt>
  400a10:	f100001f 	cmp	x0, #0x0
  400a14:	54fff721 	b.ne	4008f8 <xy_usb_detect_mount+0x8c>  // b.any
  400a18:	f94267a0 	ldr	x0, [x29, #1224]
  400a1c:	97ffff25 	bl	4006b0 <fclose@plt>
  400a20:	52800000 	mov	w0, #0x0                   	// #0
  400a24:	a9407bfd 	ldp	x29, x30, [sp]
  400a28:	9113c3ff 	add	sp, sp, #0x4f0
  400a2c:	d65f03c0 	ret

0000000000400a30 <xy_usb_mount_or_full>:
  400a30:	a9be7bfd 	stp	x29, x30, [sp, #-32]!
  400a34:	910003fd 	mov	x29, sp
  400a38:	39007fbf 	strb	wzr, [x29, #31]
  400a3c:	39007bbf 	strb	wzr, [x29, #30]
  400a40:	91007ba1 	add	x1, x29, #0x1e
  400a44:	91007fa0 	add	x0, x29, #0x1f
  400a48:	97ffff89 	bl	40086c <xy_usb_detect_mount>
  400a4c:	7100001f 	cmp	w0, #0x0
  400a50:	54000101 	b.ne	400a70 <xy_usb_mount_or_full+0x40>  // b.any
  400a54:	39407fa0 	ldrb	w0, [x29, #31]
  400a58:	2a0003e1 	mov	w1, w0
  400a5c:	39407ba0 	ldrb	w0, [x29, #30]
  400a60:	2a0003e2 	mov	w2, w0
  400a64:	90000000 	adrp	x0, 400000 <_init-0x670>
  400a68:	912fc000 	add	x0, x0, #0xbf0
  400a6c:	97ffff39 	bl	400750 <printf@plt>
  400a70:	d503201f 	nop
  400a74:	a8c27bfd 	ldp	x29, x30, [sp], #32
  400a78:	d65f03c0 	ret

0000000000400a7c <main>:
  400a7c:	a9bf7bfd 	stp	x29, x30, [sp, #-16]!
  400a80:	910003fd 	mov	x29, sp
  400a84:	97ffffeb 	bl	400a30 <xy_usb_mount_or_full>
  400a88:	52800040 	mov	w0, #0x2                   	// #2
  400a8c:	97ffff1d 	bl	400700 <sleep@plt>
  400a90:	17fffffd 	b	400a84 <main+0x8>
  400a94:	00000000 	.inst	0x00000000 ; undefined

0000000000400a98 <__libc_csu_init>:
  400a98:	a9bc7bfd 	stp	x29, x30, [sp, #-64]!
  400a9c:	910003fd 	mov	x29, sp
  400aa0:	a901d7f4 	stp	x20, x21, [sp, #24]
  400aa4:	90000094 	adrp	x20, 410000 <__FRAME_END__+0xf3f8>
  400aa8:	90000095 	adrp	x21, 410000 <__FRAME_END__+0xf3f8>
  400aac:	91374294 	add	x20, x20, #0xdd0
  400ab0:	913722b5 	add	x21, x21, #0xdc8
  400ab4:	a902dff6 	stp	x22, x23, [sp, #40]
  400ab8:	cb150294 	sub	x20, x20, x21
  400abc:	f9001ff8 	str	x24, [sp, #56]
  400ac0:	2a0003f6 	mov	w22, w0
  400ac4:	aa0103f7 	mov	x23, x1
  400ac8:	9343fe94 	asr	x20, x20, #3
  400acc:	aa0203f8 	mov	x24, x2
  400ad0:	97fffee8 	bl	400670 <_init>
  400ad4:	b4000194 	cbz	x20, 400b04 <__libc_csu_init+0x6c>
  400ad8:	f9000bb3 	str	x19, [x29, #16]
  400adc:	d2800013 	mov	x19, #0x0                   	// #0
  400ae0:	f8737aa3 	ldr	x3, [x21, x19, lsl #3]
  400ae4:	aa1803e2 	mov	x2, x24
  400ae8:	aa1703e1 	mov	x1, x23
  400aec:	2a1603e0 	mov	w0, w22
  400af0:	91000673 	add	x19, x19, #0x1
  400af4:	d63f0060 	blr	x3
  400af8:	eb13029f 	cmp	x20, x19
  400afc:	54ffff21 	b.ne	400ae0 <__libc_csu_init+0x48>  // b.any
  400b00:	f9400bb3 	ldr	x19, [x29, #16]
  400b04:	a941d7f4 	ldp	x20, x21, [sp, #24]
  400b08:	a942dff6 	ldp	x22, x23, [sp, #40]
  400b0c:	f9401ff8 	ldr	x24, [sp, #56]
  400b10:	a8c47bfd 	ldp	x29, x30, [sp], #64
  400b14:	d65f03c0 	ret

0000000000400b18 <__libc_csu_fini>:
  400b18:	d65f03c0 	ret

Disassembly of section .fini:

0000000000400b1c <_fini>:
  400b1c:	a9bf7bfd 	stp	x29, x30, [sp, #-16]!
  400b20:	910003fd 	mov	x29, sp
  400b24:	a8c17bfd 	ldp	x29, x30, [sp], #16
  400b28:	d65f03c0 	ret
